// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.liuxinlong.modules.dao.HierarchyDao;
import com.liuxinlong.modules.entity.Hierarchy;
import com.liuxinlong.modules.mapper.HierarchyMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年2月22日
 */
@Service
public class HierarchyDaoImpl extends ServiceImpl<HierarchyMapper, Hierarchy> implements HierarchyDao {
	@Override
	public List<Hierarchy> pageHierarchyList(Map<String, Object> queryParam) {
		return baseMapper.pageHierarchyList(queryParam);
	}

	@Override
	public int getHierarchyCount(Map<String, Object> queryParam) {
		return baseMapper.getHierarchyCount(queryParam);
	}

	@Override
	public Map<String, Map<String, String>> getHierarchyMap() {
		return baseMapper.getHierarchyMap();
	}

	@Override
	public List<Hierarchy> getHierarchyList() {
		return baseMapper.getHierarchyList();
	}

	@Override
	public List<Hierarchy> getHierarchyListByName(String name) {
		return baseMapper.getHierarchyListByName(name);
	}

}
